home *** CD-ROM | disk | FTP | other *** search
/ Practical Web Pages 2004 September / PracticalWebPages-WPG13-09-2004-Coverdisc.iso / pc / Software / Toolkit / Sothink SWF Quicker 1.5 / data1.cab / Public_Files / Classes / Error.as < prev    next >
Encoding:
Text File  |  2004-06-14  |  664 b   |  8 lines

  1. class Error
  2. {
  3.     var message                                                          // Contains the message associated with the Error object. By default, the value of this property is "Error". You can specify a message property when you create a new Error object by passing the error string to the Error constructor function.
  4.     var name                                                             // Contains the name of the Error object. By default, the value of this property is "Error".
  5.  
  6.     function toString()                                                  // Returns the string "Error" by default, or the value contained in Error.message, if defined.
  7. }
  8.